package com.gao.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gao.common.utils.PageUtils;
import com.gao.common.utils.Query;

import com.gao.dao.Jf2PortDao;
import com.gao.entity.Jf2PortEntity;
import com.gao.service.Jf2PortService;


@Service("jf2PortService")
public class Jf2PortServiceImpl extends ServiceImpl<Jf2PortDao, Jf2PortEntity> implements Jf2PortService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<Jf2PortEntity> page = this.page(
                new Query<Jf2PortEntity>().getPage(params),
                new QueryWrapper<Jf2PortEntity>()
        );

        return new PageUtils(page);
    }

}